#pragma once

/****************************************************
  Base class of modules.
 ****************************************************/
class Module
{
public:
	Module(int);
	~Module();

        // Get the key of the module
	int getKey();
        // Set the update frequency ( ms )
	void setUpdateFrequency(long);
        // Get the update frequency ( ms )
	long getUpdateFrequency();

private:
	int _key;
	long _frequency;
};
